package com.woniuxy.reservation.service;

import com.woniuxy.reservation.infra.model.Reservation;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.reservation.service.servicedto.ReservationServiceDto;
import com.woniuxy.reservation.service.serviceparam.InsertReservationServiceParam;
import com.woniuxy.reservation.service.serviceparam.SearchReservationByConditionServiceParam;
import com.woniuxy.reservation.service.serviceparam.UpdateReservationStateServiceParam;
import common.WoniuPage;

/**
 * <p>
 * 预约表 服务类
 * </p>
 *
 * @author Lucas
 * @since 2023-07-21
 */
public interface ReservationService extends IService<Reservation> {

    void insertReservation(InsertReservationServiceParam insertReservationServiceParam);

    void updateReservationState(UpdateReservationStateServiceParam updateReservationStateServiceParam);

    void deleteReservation(Integer storeId, Integer reservationId);

    WoniuPage<ReservationServiceDto> searchReservationByCondition(SearchReservationByConditionServiceParam searchReservationByConditionServiceParam);
}
